#include <iostream>

#include "../Queue.h"
#include "../../logger/logger.h"

using namespace std;

int main()
{
	Queue<int> queue;
	
	tsk_log(LOGGER_DEBUG ,"Queue size before adding elements:%d \n", queue.size());
	//cout<< "Queue size before adding elements: "<< queue.size()<<endl;

	int a = 5;
	int b = 3;
	int c = 7;
	int &ra = a;
	int &rb = b;
	int &rc = c;
	
	queue.enQueue(ra);
	queue.enQueue(rb);
	queue.enQueue(rc);

	//cout<<"queue size ofter enqueue : "<<< queue.size()<endl;

	tsk_log(LOGGER_DEBUG, "queue size ofter enqueue : %d\n", queue.size());
	
	for(int i = 0; i <3; i++) {
		queue.deQueue();
	}

	tsk_log(LOGGER_DEBUG, "queue size after dequeue:%d \n", queue.size());
	//cout<<"queue size after dequeue"<<queue.size()<<endl;

	return 0;
}

